Export Audit Logs (CSV)
This API exports the audit log entries recorded within the tenant as a CSV file.
Endpoint Details
| URL | /v1/audit/export-csv |
| Method | GET |
| Authorization | Bearer Token |
Request Headers
| Header | Type | Description |
|---|---|---|
| Content-Type | String | Must be application/json |
Response
On success, this endpoint returns a downloadable CSV file instead of a JSON body. The first line contains the column headers, and each following line represents a single audit log entry.
Response
ID,Activity,Module,StatusCode,Source,Group,ResponseTime,CreatedAt,CreatedBy,CreatedByName,Tenant,Type,Message,MessageType,Service,Database
f3dae0a6-be9e-4745-8ca4-b812bde9d232,query_restorestatus,backup,200,10.42.5.229:40590,Group Taka,6,2026-06-11T18:30:48+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,gateway,
979dddfe-59b9-4385-b1d2-66e386daa6cb,LockService.SealStatus,lock.v1,200,10.42.6.133:54024,Group Taka,0,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,lock,
4757cbfb-e766-43c1-b817-6324dcd72412,query_sealstatus,lock,200,10.42.4.25:57924,Group Taka,1,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,gateway,
d26601d7-4bd9-4229-9ae5-94c865f49871,LockService.SealStatus,lock.v1,200,10.42.6.133:38340,Group Taka,0,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,lock,
c233e2ed-45bf-4c2f-b34e-fc02650ff02a,TenantService.ListTenants,auth.v1,200,10.42.6.133:55262,Group Taka,5,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,auth,
c255595f-e881-4193-b994-42ab262eef49,UserService.Get,auth.v1,200,10.42.6.133:54584,Group Taka,1,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,auth,
9dd3035b-7d03-4347-aa3f-c162c7f68072,UserService.Get,auth.v1,200,10.42.6.133:54576,Group Taka,4,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,auth,
bfb0cafa-49c2-4d3c-a82c-daf7d4499fec,UserService.Get,auth.v1,200,10.42.6.133:54562,Group Taka,6,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,auth,
003bca7f-5767-4f1b-af93-8a22b92239f5,UserService.Get,auth.v1,200,10.42.6.133:55234,Group Taka,8,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,auth,
1de7a1cb-0afe-45c1-8c53-f0f1bb6ef441,UserService.Get,auth.v1,200,10.42.6.133:55284,Group Taka,2,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,auth,
2fdb83ac-3cc1-4caf-b069-f81f3db3a05e,query_sealstatus,lock,200,10.42.4.25:57924,Group Taka,1,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,gateway,
0b3e73e0-83c3-40d4-990d-d68f23e2939a,UserService.Get,auth.v1,200,10.42.6.133:55276,Group Taka,1,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,auth,
23556691-d7c5-4359-9d60-4622d1ccf72c,query_tenants,auth,200,10.42.5.229:40570,Group Taka,45,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,gateway,
5d99edfa-7510-49cb-b528-87122da50d99,GroupPermissionService.GetUserGroups,auth.v1,200,10.42.6.133:54570,Group Taka,2,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,auth,
804eb65b-45ac-4fcb-a14c-87e696415039,MFAService.GetMFAStatus,auth.v1,200,10.42.6.133:55250,Group Taka,4,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,auth,
7cbcb079-c3e4-4a89-a096-c06aee575877,query_currentuserrole,auth,200,10.42.5.229:40570,Group Taka,0,2026-06-11T18:31:25+07:00,414a45e9-f194-4a8a-9876-97abb990d4d9,Iqbal Adhi,5ebde17c-01a1-4394-977b-9e611250cf5d,User,,info,gateway
Column Descriptions
| Column | Description |
|---|---|
| ID | Unique identifier of the audit log entry |
| Activity | Activity that was performed |
| Module | Module where the activity occurred |
| StatusCode | HTTP status code returned by the request |
| Source | Source address of the request |
| Group | Group associated with the user who performed the activity |
| ResponseTime | Time taken to process the request, in milliseconds |
| CreatedAt | Timestamp of the activity in RFC 3339 date-time format |
| CreatedBy | Identifier of the user who performed the activity |
| CreatedByName | Display name of the user who performed the activity |
| Tenant | Identifier of the tenant that owns the audit log entry |
| Type | Type of actor that performed the activity |
| Message | Additional message recorded for the activity |
| MessageType | Severity or category of the log message |
| Service | Service that produced the audit log entry |
| Database | Database associated with the activity |
info
- A valid Bearer Token is required to access this endpoint.
- The response is returned as a downloadable CSV file rather than a JSON body.
- Columns such as
MessageandDatabasemay be empty when the activity does not record those values.